package zgrjb.snbq.teach_platform.enums;


import lombok.Getter;

public enum BizCodeEnum {

    ACCOUNT_UNLOGIN(10001,"用户未登陆"),


    CODE_CAPTCHA_ERROR(20001,"图形验证码错误"),

    CODE_LIMITED(20002,"请求发送验证码过频繁"),

    CODE_ERROR(20003, "验证码错误"), ATTENDEE_ALREADY_EXIST(20004, "用户已存在"),

    ATTENDEE_REGISTER_ERROR(20005, "用户注册失败"),

    LOGIN_FALL(30001, "用户名或密码错误"),

    USER_UNLOGIN(30002, "用户未登录"),

     NOT_ATTEND_MEET(30004, "用户未参加该会议"),

    FILE_UPLOAD_USER_IMG_FAIL(30003, "头像上传失败"),

    NOT_ALLOWED(30005, "审核未通过，无法获取文件列表"),

    OLD_PASSWORD_ERROR(30006, "旧密码错误"),

    SIGN_ERROR(40001, "签到错误"),

    GUEST_CREATE_ERROR(50001, "嘉宾添加错误"),

    MEET_NOT_EXIST(60001, "会议不存在"),

    ADDRESS_RETURN_ERROR(70001,"返回会议地点经纬度失败" ),

    WAILKING_NAVIGATE_ERROR(70002, "步行导航失败"),

    TRANSIT_NAVIGATE_ERROR(70003, "公交导航失败"),

    CITYCODE_ERROR(70004, "城市编码返回失败"),

    INTERLOCUTE_ERROR(80001, "ai问答接口出错"),

    TRANSLATE_ERROR(80002, "ai翻译接口出错"),

    SUMMARY_ERROR(80003,"ai总结接口出错"),

    CREATE_ACTIVITY_ERROR(90001, "创建活动失败"),

    MQ_CONSUME_EXCEPTION(10001, "MQ消息处理失败");

    @Getter
    private String message;

    @Getter
    private int code;

    private BizCodeEnum(int code, String message){
        this.code = code;
        this.message = message;
    }
}
